package student.beans;

import java.io.Serializable;

import org.springframework.stereotype.Component;

@Component
public class Course implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -7615887227970243409L;
	private int couId;
	private int courseName;
	public Course() {
		super();
	}
	public Course(int couId, int courseName) {
		super();
		this.couId = couId;
		this.courseName = courseName;
	}
	public int getCouId() {
		return couId;
	}
	public void setCouId(int couId) {
		this.couId = couId;
	}
	public int getCourseName() {
		return courseName;
	}
	public void setCourseName(int courseName) {
		this.courseName = courseName;
	}
	@Override
	public String toString() {
		return "Course [couId=" + couId + ", courseName=" + courseName + "]";
	}	
}
